﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace r2mp_DataStructures
{
    /// <summary>
    /// The class MTA is a collection class that collects all the data necessary to draw an MTA-Diagramm.
    /// This is especially the collection of milestones and certain additional information.
    /// </summary>
    public class MTA
    {
        /// <summary>
        /// Collection of milestones to be drawn as part of the MTA-Diagramm.
        /// </summary>
        private List<Milestone> milestones = new List<Milestone>();

        /// <summary>
        /// Defines if the periods of the corrections of the dates within the milestones are months or weeks.
        /// </summary>
        private int periode = Month;

        public int Periode
        {
            get { return periode; }
            set { periode = value; }
        }

        public const int Week = 1;
        public const int Month = 0;

        public List<Milestone> Milestones
        {
            get { return milestones; }
            set { milestones = value; }
        }
    }
}
